-- GENERATED SPELL FOR [Windfury Sorceress] --


function spell0_2964(pUnit, Event) --@Frostbolt,n/a--
pUnit:FullCastSpellOnTarget(13322,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2964', 5000, 1)
end

function Sorts_2964(pUnit, Event)
local choix_sorts_2964 = math.random(0, 0)
if choix_sorts_2964 == 0 then
pUnit:RegisterEvent('spell0_2964', 1, 1)
end
end

function mob2964_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2964', math.random(1500, 3000), 1)
end

function mob2964_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2964_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2964_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2964, 1, 'mob2964_Action')
RegisterUnitEvent(2964, 2, 'mob2964_Leave')
RegisterUnitEvent(2964, 3, 'mob2964_Kill')
RegisterUnitEvent(2964, 4, 'mob2964_Die')
